﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace PHMEE.Admin
{
    public class EquipmentDto : EntityDto<Guid>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 英文名
        /// </summary>
        public string NameEn { get; set; }

        /// <summary>
        /// 多语言展示Name
        /// </summary>
        public string DisplayName { get; set; }


        /// <summary>
        /// 编号
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public string Tags { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 制造厂家
        /// </summary>
        public string Manufacturer { get; set; }
        /// <summary>
        /// 制造时间
        /// </summary>
        public string ManufacturerTime { get; set; }

        /// <summary>
        /// 额定转速
        /// </summary>
        public double? RatedSpeed { get; set; }

        /// <summary>
        /// 额定功率
        /// </summary>
        public double? RatedPower { get; set; }

        public EquipmentEnum Type { get; set; }

        public Dictionary<string, object> DerivedPropertiesJson { get; set; } = new Dictionary<string, object>();

        public UnitDto Unit { get; set; }

        public string UnitDisplayName { get; set; }

        public VesselDto Vessel { get; set; }

        public string VesselDisplayName { get; set; }

    }
}
